<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ page import="java.lang.*"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="<%=request.getContextPath()%>" />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Echarts</title>
<link type="text/css" rel="stylesheet"
	href="${ctx}/js/tree/zTreeStyle/zTreeStyle.css" />
<link type="text/css" rel="stylesheet" href="css/base.css" />
<link type="text/css" rel="stylesheet" href="css/chart.css" />

</head>
<body>

	<div id="main-container" class="form">

		<div class="left">
			<div id="tree-container" class="">
				<ul class="ztree" id="xzqtree"></ul>
			</div>

			<div id="left-show" class="">
				<select name="" style="width: 80px">
					<option>延一井</option>
					<option>延二井</option>
					<option>延三井</option>
					<option>延四井</option>
					<option>延五井</option>
					<option>延六井</option>
				</select> 
				<input type="text" size="10" />
				<input type="button" onclick="GetChartsData()" value=" 作图  " />
			</div>
			<div id="left-property" class="">
			<table id="left-property-table"></table>
			</div>
		</div>

		<div class="right">
			<div id="chart_show" class="right-up">
				<!-- 为ECharts准备一个具备大小（宽高）的Dom -->
			
			</div>
			<div id="grid_show" class="right-down">shenqiangz</div>
		</div>

	</div>



	<!-- ECharts单文件引入 -->
	<script type="text/javascript" src="${ctx}/js/jquery.min.js"></script>
	<script type="text/javascript"
		src="${ctx}/js/tree/jquery.ztree.all-3.5.min.js"></script>
	<script type="text/javascript" src="${ctx}/js/echarts/dist/echarts.js"></script>
	<script type="text/javascript" src="js/chart.js"></script>

	<script>
		//路径配置
		require.config({
			paths : {
				echarts : '${ctx}/js/echarts/dist'
			}
		});

		// 使用
		require([ 'echarts', 'echarts/chart/line' // 使用柱状图就加载bar模块，按需加载
		], DrawCharts);
	</script>

</body>
</html>